package test;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component("公交车")
public class Bus implements Car {
   public void drive(){
       System.out.println("驾驶公交车Bus");
   }
}
